package com.yx.es.sync.property;

import com.yx.es.sync.dto.FullDataSyncDTO;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author lsx
 * @date 2025/3/3 14:46
 */
@Data
@Component
@ConfigurationProperties(prefix = "full-data-sync")
public class FullDataSyncProperties {
    private String nameServerAddr;
    private List<FullDataSyncDTO> taskList;
}
